import request from '@/utils/request'
export default {
  addNews(newsVo){
    return request({
      url: `/db_work/news/addNews`,
      method: 'post',
      data:newsVo
    })
  },
  getNewsTopSix(){
    return request({
      url: `/db_work/news/getNewsTopSix`,
      method: 'get'
    })
  },
  getNewsById(id){
    return request({
      url: `/db_work/news/getNewById/${id}`,
      method: 'get'
    })
  }

}
